package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 订单做法表
 */
@Entity
public class corecmsfoodordertask {
    /**
     * 序列
     */
    @Id
    private long id;

    /**
     * 订单详情表
     */
    private Long detailId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 做法id
     */
    private Long tasteId;

    /**
     * 价格
     */
    private double price;

    @Generated(hash = 1029302914)
    public corecmsfoodordertask(long id, Long detailId, Long orderId, Long tasteId,
            double price) {
        this.id = id;
        this.detailId = detailId;
        this.orderId = orderId;
        this.tasteId = tasteId;
        this.price = price;
    }

    @Generated(hash = 97555252)
    public corecmsfoodordertask() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Long getDetailId() {
        return this.detailId;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public Long getOrderId() {
        return this.orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getTasteId() {
        return this.tasteId;
    }

    public void setTasteId(Long tasteId) {
        this.tasteId = tasteId;
    }

    public double getPrice() {
        return this.price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
